package cn.edu.fzu.delivery.mapper;

import cn.edu.fzu.delivery.domain.entity.Logistics;
import cn.edu.fzu.delivery.domain.enums.NetworkCourierStatusEnum;
import org.apache.ibatis.annotations.Param;

/**
 * 物流
 * 
 * @author fangxin
 * @date 2022/11/8
 */
public interface LogisticsMapper {

    /** 根据链路节点id获取节点 **/
    Logistics getById(@Param("id") Long id);


    void insert(@Param("logistics") Logistics logistics);


    void update(@Param("id") Long id, @Param("status") NetworkCourierStatusEnum status);
}
